[INFO] cloning repository https://github.com/zhwei820/rs-code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhwei820/rs-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhwei820%2Frs-code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhwei820%2Frs-code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 99ab9036f0bf962e5c9be688c5db197ebfd14d84
[INFO] fixing zhwei820/rs-code against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhwei820%2Frs-code" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zhwei820/rs-code
[INFO] finished tweaking git repo https://github.com/zhwei820/rs-code
[INFO] tweaked toml for git repo https://github.com/zhwei820/rs-code written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zhwei820/rs-code on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zhwei820/rs-code already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7775f8eb3f396a0e10d03a5557288fa386f0abcd86a879c57a866e6607b91521
[INFO] running `Command { std: "docker" "start" "7775f8eb3f396a0e10d03a5557288fa386f0abcd86a879c57a866e6607b91521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7775f8eb3f396a0e10d03a5557288fa386f0abcd86a879c57a866e6607b91521" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7775f8eb3f396a0e10d03a5557288fa386f0abcd86a879c57a866e6607b91521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7775f8eb3f396a0e10d03a5557288fa386f0abcd86a879c57a866e6607b91521" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating util/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Migrating leetcode/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking rustgym-util v0.2.4 (/opt/rustwide/workdir/util)
[INFO] [stderr]    Compiling paste v1.0.9
[INFO] [stderr]     Checking assert_approx_eq v1.1.0
[INFO] [stderr]    Migrating util/src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Checking pretty_assertions v0.7.2
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rustgym-leetcode v0.1.0 (/opt/rustwide/workdir/leetcode)
[INFO] [stderr]    Migrating leetcode/src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.08s
[INFO] [stderr] crater-edition-check: rustgym-util v0.2.4 (/opt/rustwide/workdir/util) updating edition from 2018 to 2021
[INFO] [stderr] crater-edition-check: rustgym-leetcode v0.1.0 (/opt/rustwide/workdir/leetcode) updating edition from 2018 to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking rustgym-util v0.2.4 (/opt/rustwide/workdir/util)
[INFO] [stdout] warning: unused import: `crate::adventofcode::*`
[INFO] [stdout]   --> util/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use crate::adventofcode::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::*`
[INFO] [stdout]   --> util/src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::data::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::test_gen::*`
[INFO] [stdout]   --> util/src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::test_gen::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::adventofcode::*`
[INFO] [stdout]   --> util/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use crate::adventofcode::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::*`
[INFO] [stdout]   --> util/src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::data::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::test_gen::*`
[INFO] [stdout]   --> util/src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::test_gen::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustgym-leetcode v0.1.0 (/opt/rustwide/workdir/leetcode)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> leetcode/src/d15/_1515_best_position_for_a_service_center.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout]    |                      ^                                                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 31 +             .map(|v| ((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> leetcode/src/d15/_1515_best_position_for_a_service_center.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout]    |                      ^                                                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 31 +             .map(|v| ((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> leetcode/src/d3/_374_guess_number_higher_or_lower.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     match X.cmp(&num) {
[INFO] [stdout]   |           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> leetcode/src/d3/_374_guess_number_higher_or_lower.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     match X.cmp(&num) {
[INFO] [stdout]   |           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.59s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating util/Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Migrating leetcode/Cargo.toml from 2018 edition to 2021
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stdout] warning: unused import: `crate::adventofcode::*`
[INFO] [stdout]   --> util/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use crate::adventofcode::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::*`
[INFO] [stdout]   --> util/src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::data::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::test_gen::*`
[INFO] [stdout]   --> util/src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::test_gen::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustgym-util v0.2.4 (/opt/rustwide/workdir/util)
[INFO] [stderr]     Checking rustgym-leetcode v0.1.0 (/opt/rustwide/workdir/leetcode)
[INFO] [stderr]    Migrating util/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed util/src/test_gen.rs (4 fixes)
[INFO] [stderr]        Fixed util/src/nested_integer.rs (1 fix)
[INFO] [stderr]        Fixed util/src/adventofcode.rs (4 fixes)
[INFO] [stderr]        Fixed util/src/list.rs (2 fixes)
[INFO] [stderr]        Fixed util/src/tree.rs (4 fixes)
[INFO] [stderr]    Migrating leetcode/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed leetcode/src/d3/_374_guess_number_higher_or_lower.rs (2 fixes)
[INFO] [stderr]        Fixed leetcode/src/d1/_146_lru_cache.rs (1 fix)
[INFO] [stderr]        Fixed leetcode/src/d11/_1161_maximum_level_sum_of_a_binary_tree.rs (1 fix)
[INFO] [stderr]        Fixed leetcode/src/d4/_432_all_o_one_data_structure.rs (2 fixes)
[INFO] [stderr]        Fixed leetcode/src/d4/_433_minimum_genetic_mutation.rs (1 fix)
[INFO] [stderr]        Fixed leetcode/src/d5/_593_valid_square.rs (2 fixes)
[INFO] [stderr]        Fixed leetcode/src/d5/_529_minesweeper.rs (2 fixes)
[INFO] [stderr]        Fixed leetcode/src/d4/_460_lfu_cache.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> leetcode/src/d0/_99_recover_binary_search_tree.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |             &mut second.unwrap().borrow_mut().val,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^-------------
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  this temporary value will be dropped at the end of the block
[INFO] [stdout]    |                  a temporary with access to the borrow is created here ...
[INFO] [stdout] 38 |         )
[INFO] [stdout] 39 |     }
[INFO] [stdout]    |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, TreeNode>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
[INFO] [stdout]    |
[INFO] [stdout] 38 |         );
[INFO] [stdout]    |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> leetcode/src/d0/_99_recover_binary_search_tree.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |             &mut first.unwrap().borrow_mut().val,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^-------------
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  this temporary value will be dropped at the end of the block
[INFO] [stdout]    |                  a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 39 |     }
[INFO] [stdout]    |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, TreeNode>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
[INFO] [stdout]    |
[INFO] [stdout] 38 |         );
[INFO] [stdout]    |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> leetcode/src/d3/_374_guess_number_higher_or_lower.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     match X.cmp(&num) {
[INFO] [stdout]   |           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> leetcode/src/d0/_99_recover_binary_search_tree.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |             &mut second.unwrap().borrow_mut().val,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^-------------
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  this temporary value will be dropped at the end of the block
[INFO] [stdout]    |                  a temporary with access to the borrow is created here ...
[INFO] [stdout] 38 |         )
[INFO] [stdout] 39 |     }
[INFO] [stdout]    |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, TreeNode>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
[INFO] [stdout]    |
[INFO] [stdout] 38 |         );
[INFO] [stdout]    |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> leetcode/src/d0/_99_recover_binary_search_tree.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |             &mut first.unwrap().borrow_mut().val,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^-------------
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  this temporary value will be dropped at the end of the block
[INFO] [stdout]    |                  a temporary with access to the borrow is created here ...
[INFO] [stdout] ...
[INFO] [stdout] 39 |     }
[INFO] [stdout]    |     - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `RefMut<'_, TreeNode>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
[INFO] [stdout]    |
[INFO] [stdout] 38 |         );
[INFO] [stdout]    |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]  --> leetcode/src/d3/_374_guess_number_higher_or_lower.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     match X.cmp(&num) {
[INFO] [stdout]   |           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] [stderr] crater-edition-check: rustgym-util v0.2.4 (/opt/rustwide/workdir/util) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: rustgym-leetcode v0.1.0 (/opt/rustwide/workdir/leetcode) updating edition from 2021 to 2024
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Checking rustgym-util v0.2.4 (/opt/rustwide/workdir/util)
[INFO] [stdout] warning: unused import: `crate::adventofcode::*`
[INFO] [stdout]   --> util/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use crate::adventofcode::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::*`
[INFO] [stdout]   --> util/src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::data::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::test_gen::*`
[INFO] [stdout]   --> util/src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::test_gen::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::adventofcode::*`
[INFO] [stdout]   --> util/src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use crate::adventofcode::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data::*`
[INFO] [stdout]   --> util/src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use crate::data::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::test_gen::*`
[INFO] [stdout]   --> util/src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::test_gen::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustgym-leetcode v0.1.0 (/opt/rustwide/workdir/leetcode)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> leetcode/src/d15/_1515_best_position_for_a_service_center.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout]    |                      ^                                                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 31 +             .map(|v| ((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]   --> leetcode/src/d15/_1515_best_position_for_a_service_center.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout]    |                      ^                                                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -             .map(|v| (((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt()))
[INFO] [stdout] 31 +             .map(|v| ((v[0] as f64 - x).powi(2) + (v[1] as f64 - y).powi(2)).sqrt())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]  --> leetcode/src/d3/_374_guess_number_higher_or_lower.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     match X.cmp(&num) {
[INFO] [stdout]   |           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustgym-leetcode` (lib) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]  --> leetcode/src/d3/_374_guess_number_higher_or_lower.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     match X.cmp(&num) {
[INFO] [stdout]   |           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]   |
[INFO] [stdout]   = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]   = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustgym-leetcode` (lib test) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "7775f8eb3f396a0e10d03a5557288fa386f0abcd86a879c57a866e6607b91521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7775f8eb3f396a0e10d03a5557288fa386f0abcd86a879c57a866e6607b91521", kill_on_drop: false }`
[INFO] [stdout] 7775f8eb3f396a0e10d03a5557288fa386f0abcd86a879c57a866e6607b91521
